﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<TireBias.Models.WasteModel.Waste_DS>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Index
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="FeaturedContent" runat="server">
            <div class="ui-tabs ui-widget ui-widget-content ui-corner-all" style="margin:auto;" >

<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
<li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"><a href="#tabs-1" >WASTE</a> </li>
<li class="ui-state-default ui-corner-top "><a href="#tabs-2" >LOSS</a> </li>
</ul>
</div>

<div id="tabs-1" style="height:auto; margin-left:0px;" >
      
            <table width="50%" style="text-align:left; margin-top:50px; border-top:1px solid black;">
   
                <tr >
                    <td class="cell head"  style="border-left:1px solid black;">
                        CODE
                    </td>
                    <td class="cell head">
                        DESC
                    </td>
                   <td class="cell head">
                        ACTIVE
                    </td>
                     <td class="cell head">
                        MODIFY BY
                    </td>
                  <td class="cell head"  style="border-right:1px solid black;">
                        MODIFY DATE
                    </td>
                </tr>
                <% 
                    int i = 0;
                    foreach (var item in Model)
                    {     i = i + 1;
                        string trrow = "rowa";
                        if (i % 2 == 0) trrow = "rowb";
                   %>
                 <tr class='<%= trrow %>'  style="line-height:25px;">
                    <td class="cell " style="border-left:1px solid black;">
                        <%: Html.DisplayFor(modelItem => item._code) %>
                    </td>
                     <td class="cell ">
                        <%: Html.DisplayFor(modelItem => item._desc) %>
                    </td>
                    <td class="cell ">
                        <%: Html.DisplayFor(modelItem => item._act) %>
                    </td>
                     <td class="cell ">
                        <%: Html.DisplayFor(modelItem => item._ModifyBy) %>
                    </td>
                    <td class="cell " style="border-right:1px solid black;">
                        <%: Html.DisplayFor(modelItem => item._ModifyDT) %>
                    </td>               
                </tr>
                <% } %>
            </table>
          </div>

</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="TableContent" runat="server">


</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="ScriptsSection" runat="server">
 
  
    <script type="text/javascript">
        $(function () {
            $("#drop").hide();
        });
    </script>
</asp:Content>
